package com.example.databasepj.Request;

public class LoginRequest {

        private int id;
        private String password;
        private String role;

        // 构造函数、getter和setter方法
        // 省略其他代码


    public LoginRequest(int id, String password, String role) {
        this.id = id;
        this.password = password;
        this.role = role;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
